package com.example.admin.brainwave.utils.glideConfig;

import android.content.Context;
import android.os.Environment;

import com.bumptech.glide.Glide;
import com.bumptech.glide.GlideBuilder;
import com.bumptech.glide.Registry;
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader;
import com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper;
import com.bumptech.glide.load.engine.cache.LruResourceCache;
import com.bumptech.glide.load.engine.cache.MemorySizeCalculator;
import com.bumptech.glide.load.model.GlideUrl;
import com.bumptech.glide.module.AppGlideModule;
import com.bumptech.glide.request.target.ViewTarget;
import com.example.admin.brainwave.R;
import com.example.admin.brainwave.utils.OkHttpUtil;

import java.io.File;
import java.io.InputStream;

/**
 * Created by Tony on 2016/12/6.
 * <p>
 * Glide配置文件
 */
@GlideModule
public class GlideConfigModule extends AppGlideModule {


    @Override
    public void applyOptions(Context context, GlideBuilder builder) {

    }


    @Override
    public boolean isManifestParsingEnabled() {
        return false;
    }
}
